<?php
/**
 *
 * @author Eric
 * @version
 */
/**
 * GetCurrentModuleInfo helper
 *
 * @uses viewHelper Zend_View_Helper
 */
class Jnd_View_Helper_GetModuleInfo extends Zend_View_Helper_Abstract
{

    /**
     *
     */
    public function getModuleInfo()
    {
        $fc = Zend_Controller_Front::getInstance();
        $return = new StdClass();
        $return->module = $fc->getRequest()->getModuleName();
        $return->controller = $fc->getRequest()->getControllerName();
        $return->action = $fc->getRequest()->getActionName();
        return $return;
    }
}

